Dev4Press\v45\Core\Helpers\IP A

Total Complexity 59
Dependencies 0
Dependents 6
Total lines 305
Lines of code 209
Logical lines of code 118
Comment lines 5
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
is_cloudflare()
A
50 10 30
visitor()
A
49 8 34
is_private()
S
56 7 19
is_ipv4_in_range()
S
51 6 25
is_ipv6_in_range()
S
53 5 22
all()
S
53 4 24
full_ip()
S
60 4 12
validate()
S
62 3 11
server()
S
64 3 10
is_in_range()
S
77 2 3
is_private_regex()
S
71 2 6
cleanup()
S
74 2 4
is_v4()
S
78 1 3
is_v6()
S
78 1 3
random_ipv4()
S
77 1 3